package com.lmk.homework.Teacher;

public class Animal {
    private String color;
    private int leg;

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getLeg() {
        return leg;
    }

    public void setLeg(int leg) {
        this.leg = leg;
    }

    public Animal() {
    }
    public void eat(){
        System.out.println("吃饭");
    }
}
